package com.java.mybatis.entity;

import java.io.Serializable;

/**
 * (Area)实体类
 *  注（仓库地区表）
 * @author makejava
 * @since 2021-01-15 17:10:28
 */
public class Area implements Serializable {
    private static final long serialVersionUID = -49138337859543467L;
    
    private Integer areaId; //仓库地区id
    
    private Warehouse warehouse; //所属仓库(关联仓库表id)
    
    private Region region;  //所属地区(关联地区表id)
    
    private Integer areaCode; //软删除
    
    private String areaMark; //备用字段

    @Override
    public String toString() {
        return "Area{" +
                "areaId=" + areaId +
                ", warehouse=" + warehouse +
                ", region=" + region +
                ", areaCode=" + areaCode +
                ", areaMark='" + areaMark + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Warehouse getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(Warehouse warehouse) {
        this.warehouse = warehouse;
    }

    public Region getRegion() {
        return region;
    }

    public void setRegion(Region region) {
        this.region = region;
    }

    public Integer getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(Integer areaCode) {
        this.areaCode = areaCode;
    }

    public String getAreaMark() {
        return areaMark;
    }

    public void setAreaMark(String areaMark) {
        this.areaMark = areaMark;
    }
}